View Javadoc

1   // ZipConstants.java, created Thu Jul  4  4:50:04 2002 by joewhaley
2   // Copyright (C) 2001-3 John Whaley <jwhaley@alum.mit.edu>
3   // Licensed under the terms of the GNU LGPL; see COPYING for details.
4   
5   package joeq.ClassLib.Common.java.util.zip;
6   
7   /***
8    * ZipConstants
9    *
10   * @author  John Whaley <jwhaley@alum.mit.edu>
11   * @version $Id: ZipConstants.java 1451 2004-03-09 06:27:08Z jwhaley $
12   */
13  public interface ZipConstants {
14  
15      long LOCSIG = 0x04034b50L;
16      long EXTSIG = 0x08074b50L;
17      long CENSIG = 0x02014b50L;
18      long ENDSIG = 0x06054b50L;
19      int LOCHDR = 30;
20      int EXTHDR = 16;
21      int CENHDR = 46;
22      int ENDHDR = 22;
23      int LOCVER = 4;
24      int LOCFLG = 6;
25      int LOCHOW = 8;
26      int LOCTIM = 10;
27      int LOCCRC = 14;
28      int LOCSIZ = 18;
29      int LOCLEN = 22;
30      int LOCNAM = 26;
31      int LOCEXT = 28;
32      int EXTCRC = 4;
33      int EXTSIZ = 8;
34      int EXTLEN = 12;
35      int CENVEM = 4;
36      int CENVER = 6;
37      int CENFLG = 8;
38      int CENHOW = 10;
39      int CENTIM = 12;
40      int CENCRC = 16;
41      int CENSIZ = 20;
42      int CENLEN = 24;
43      int CENNAM = 28;
44      int CENEXT = 30;
45      int CENCOM = 32;
46      int CENDSK = 34;
47      int CENATT = 36;
48      int CENATX = 38;
49      int CENOFF = 42;
50      int ENDSUB = 8;
51      int ENDTOT = 10;
52      int ENDSIZ = 12;
53      int ENDOFF = 16;
54      int ENDCOM = 20;
55  }